package gov.pbc.nn.core.utils;

import javax.persistence.Table;

import gov.pbc.nn.core.entity.BaseEntity;

public class GetTableUtils {

	public static String getTablename(Class<? extends BaseEntity> clazz) {
		Table table = clazz.getAnnotation(Table.class);
		return table.name().toUpperCase();
	}
}
